/*
 * @Author: your name
 * @Date: 2020-12-13 09:03:15
 * @LastEditTime: 2020-12-13 09:29:46
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \c\list.h
 */
#ifndef __LIST__H_
#define __LIST__H_
#include <head.h>
typedef int DATATYPE;
typedef struct _listNode{
    struct _listNode *next;
    DATATYPE data;

} listnode;
typedef struct{
    listnode *node;
    int nodenum;
}LinkList;

#define LIST_INIT_VALUE  {NULL,0}
bool linklistaddNode (LinkList *list,DATATYPE data);
bool linklistdelnode(LinkList *list,DATATYPE data);
void printlinklist (LinkList *list);
void list_test();

#endif // __LIST__H_
